﻿<%@ page title="" language="C#" masterpagefile="~/MasterPage.master" autoeventwireup="true" inherits="Product_Process, App_Web_pp-xqmhj" %>
<%@ Register Assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Content" runat="Server">
    <ajaxToolkit:ModalPopupExtender ID="CreatePopup" runat="server" TargetControlID="btnPrdSelect"
        BackgroundCssClass="modalBackground" DropShadow="true" BehaviorID="programmaticModalPopupBehavior"
        CancelControlID="btnCancel" PopupControlID="pnlCreateQut">
    </ajaxToolkit:ModalPopupExtender>
    <asp:Panel ID="pnlCreateQut" runat="server" CssClass="modalPopup" Style="display: none;">
        <asp:Table ID="tblCreateQut" runat="server">
            <asp:TableHeaderRow CssClass="panelTitle">
                <asp:TableCell ColumnSpan="2">Product</asp:TableCell></asp:TableHeaderRow>
            <asp:TableRow>
                <asp:TableCell>
                    <asp:Label ID="lblProduct" runat="server" Text="Select Product" /></asp:TableCell><asp:TableCell>
                        <asp:DropDownList ID="drpProduct" runat="server" />
                    </asp:TableCell></asp:TableRow><asp:TableRow>
                <asp:TableCell>
                    <asp:Button ID="btnCreate" runat="server" Text="Create" OnClick="btnCreate_Click" />
                </asp:TableCell><asp:TableCell>
                    <asp:Button ID="btnCancel" runat="server" Text="Cancel" />
                </asp:TableCell></asp:TableRow></asp:Table></asp:Panel><ajaxToolkit:ModalPopupExtender ID="PrdPrice" runat="server" BackgroundCssClass="modalBackground"
        CancelControlID="txtcanel" DropShadow="true" TargetControlID="btnPrice" PopupControlID="pnlGrid" />
    <asp:Panel ID="pnlGrid" runat="server" Style="display: none;" CssClass="modalPopup">
        <asp:Panel ID="pnlGridCD" runat="server">
            <asp:Table ID="tblGridCD" runat="server">
                <asp:TableRow>
                    <asp:TableCell>S.No</asp:TableCell><asp:TableCell>
                        <asp:Label ID="lblsno" runat="server" /></asp:TableCell></asp:TableRow><asp:TableRow>
                    <asp:TableCell>Description</asp:TableCell><asp:TableCell>
                        <asp:TextBox ID="txtdesc" runat="server" TextMode="MultiLine" CssClass="TBox" /></asp:TableCell></asp:TableRow><asp:TableRow>
                    <asp:TableCell>Quantity</asp:TableCell><asp:TableCell>
                        <asp:TextBox ID="txtquantity" runat="server" /></asp:TableCell></asp:TableRow><asp:TableRow>
                    <asp:TableCell>Price</asp:TableCell><asp:TableCell>
                        <asp:TextBox ID="txtprice" runat="server" /></asp:TableCell></asp:TableRow><asp:TableFooterRow>
                    <asp:TableCell>
                        <asp:Button ID="txtsubmit" runat="server" Text="Submit" OnClick="txtsubmit_Click" />
                    </asp:TableCell><asp:TableCell>
                        <asp:Button ID="txtcanel" runat="server" Text="Reset" OnClick="btnreset_Click" />
                    </asp:TableCell></asp:TableFooterRow></asp:Table><asp:GridView ID="grdBill" runat="server" AutoGenerateColumns="false">
                <Columns>
                    <asp:BoundField DataField="sno" HeaderText="Sno" />
                    <asp:BoundField DataField="tdesc" HeaderText="Sno" />
                    <asp:BoundField DataField="qty" HeaderText="Sno" />
                    <asp:BoundField DataField="price" HeaderText="Sno" />
                </Columns>
            </asp:GridView>
        </asp:Panel>
    </asp:Panel>
    <%--Holding popup for product selection--%> <asp:Button ID="btnPrdSelect" runat="server" Text="Select Product" />
    <%--Holding popup of product terms & condt--%> <asp:Button ID="btnPrdTOC" runat="server" Text="Terms-Conditions" OnClick="btnPrdTOC_Click" /><%--Holding popup for price schedule--%> <asp:Button ID="btnPrice" runat="server" Text="Price Schedule" />    
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="RightContent" runat="Server">
    <asp:Panel ID="pnlCust" runat="server">
        <asp:Table ID="tblCust" runat="server">
            <asp:TableHeaderRow>
                <asp:TableCell ColumnSpan="2">
                    <asp:Image ID="imgInfo" runat="server" ImageUrl="~/App_Themes/MAX/images/info-24.png" />
                </asp:TableCell><asp:TableCell>
                    <asp:Label ID="lbl" runat="server" Text="Quotation is generating towards Ms.#" />
                </asp:TableCell></asp:TableHeaderRow><asp:TableRow>
                <asp:TableCell ColumnSpan="2">
                    <asp:Label ID="lblTo" runat="server" />
                </asp:TableCell></asp:TableRow><asp:TableRow>
                <asp:TableCell>
                    Ref.#
                    EEE/QT/
                    <asp:Label ID="lblRef" runat="server" />
                </asp:TableCell></asp:TableRow><asp:TableRow>
                <asp:TableCell>Product &nbsp;</asp:TableCell><asp:TableCell>
                    &nbsp;
                    <asp:Label ID="lblPrd" runat="server" /></asp:TableCell></asp:TableRow></asp:Table></asp:Panel></asp:Content>